package gam.n1.ent.i.entitys;

import gam.n1.areas.Area;
import gam.n1.ent.i.ProtectedEntity;
import net.minecraft.server.v1_16_R3.EntityTypes;
import net.minecraft.server.v1_16_R3.EntityVillager;
import net.minecraft.server.v1_16_R3.World;
import org.bukkit.craftbukkit.v1_16_R3.CraftWorld;
import org.bukkit.entity.LivingEntity;
import org.jetbrains.annotations.NotNull;

public class AbstractVillager extends EntityVillager implements ProtectedEntity {

    public AbstractVillager(@NotNull Area area) {
        super(EntityTypes.VILLAGER, ((CraftWorld) area.getAreaInWorld()).getHandle());
        this.setNoAI(true);
    }

    @Override
    public LivingEntity getAEntity() {
        return (LivingEntity) this.getBukkitEntity();
    }

    @Override
    public LivingEntity newAEntity() {
        return null;
    }

    @Override
    public boolean bS() {
        return false;
    }

    @Override
    public void aS() {

    }

    @Override
    public void e() {

    }

    @Override
    public void aD() {

    }
}
